package com.siwei.mes.entity.mock;

import com.siwei.mes.common.validator.MockGroup;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 模拟ERP小票
 *
 * @Description: 模拟ERP小票
 * @Version: 1.0
 * @author: mlchen
 * @date: 2024/8/11 11:49
 */
@Data
public class MockItemOrder {
    @NotBlank(groups = MockGroup.class, message = "任务单号为空")
    @ApiModelProperty(value = "任务单号")
    private String rwdh;

    @NotNull(groups = MockGroup.class, message = "完成方量为空")
    @ApiModelProperty(value = "完成方量")
    private Float wcfl;
}
